<?php /* Smarty version 2.6.26, created on 2013-04-07 03:32:18
         compiled from ../templates/user_refer.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'U', '../templates/user_refer.html', 23, false),)), $this); ?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>コントロールパネル</title>

    <link href="./assets/styles/default.css" rel="stylesheet" />
	<script src="./assets/scripts/libs/jquery-1.7.1.min.js" type="text/javascript"></script>
	<script src="./assets/scripts/import.js" type="text/javascript"></script>

</head>
<body>
<?php echo $this->_tpl_vars['zhead']; ?>


<div id="container">
	
<?php echo $this->_tpl_vars['zmenu']; ?>


    <article>
    	<h2><span>&nbsp;</span>会員管理<p><a href="javascript:;">Open Plugins</a></p></h2>
        <nav>
        	<ul>
					<li class="active"><a href="<?php echo ((is_array($_tmp='Home/user/index')) ? $this->_run_mod_handler('U', true, $_tmp) : U($_tmp)); ?>
"><span>会員検索</span></a></li>
				  <li><a href="<?php echo ((is_array($_tmp='Home/user/insert')) ? $this->_run_mod_handler('U', true, $_tmp) : U($_tmp)); ?>
"><span>会員登録</span></a></li>
			</ul>
        </nav>
		<section id="content">
			<h3>会員参照</h3>

			<ul class="btns b20" style="position:relative;top:10px;">
				<li class="btn left c"><a href="<?php echo ((is_array($_tmp='Home/user/refer')) ? $this->_run_mod_handler('U', true, $_tmp) : U($_tmp)); ?>
?id=<?php echo $this->_tpl_vars['forms']['id']; ?>
" class="active">情報参照</a></li>
				<li class="btn center c"><a href="<?php echo ((is_array($_tmp='Home/user/update')) ? $this->_run_mod_handler('U', true, $_tmp) : U($_tmp)); ?>
?id=<?php echo $this->_tpl_vars['forms']['id']; ?>
">情報更新</a></li>
				<li class="btn center c"><a href="<?php echo ((is_array($_tmp='Home/delivery/refer')) ? $this->_run_mod_handler('U', true, $_tmp) : U($_tmp)); ?>
?id=<?php echo $this->_tpl_vars['forms']['id']; ?>
">配送先情報</a></li>
				<li class="btn center c"><a href="<?php echo ((is_array($_tmp='Home/order/index')) ? $this->_run_mod_handler('U', true, $_tmp) : U($_tmp)); ?>
?id=<?php echo $this->_tpl_vars['forms']['id']; ?>
">注文情報</a></li>
				<li class="btn center c"><a href="<?php echo ((is_array($_tmp='Home/mail/index')) ? $this->_run_mod_handler('U', true, $_tmp) : U($_tmp)); ?>
?id=<?php echo $this->_tpl_vars['forms']['id']; ?>
">メール履歴</a></li>
			</ul>

			<form name="fm" action="<?php echo ((is_array($_tmp='Home/user/update')) ? $this->_run_mod_handler('U', true, $_tmp) : U($_tmp)); ?>
" method="get" enctype="multipart/form-data">
				<h4><span>&nbsp;</span>基本情報</h4>
				<table class="formTable">
					<tbody>
						<tr><input type="hidden" name='id' value='<?php echo $this->_tpl_vars['forms']['id']; ?>
'>
							<th>登録日時</th>
							<td><?php echo $this->_tpl_vars['forms']['c_time']; ?>
</td>
							<th>システムID</th>
							<td><?php echo $this->_tpl_vars['forms']['id']; ?>
</td>
						</tr>
						<tr>
							<th>更新日時</th>
							<td><?php echo $this->_tpl_vars['forms']['u_time']; ?>
</td>
							<th>状態</th>
							<?php if ($this->_tpl_vars['forms']['state'] == '1'): ?><td>通常</td><?php endif; ?>
							<?php if ($this->_tpl_vars['forms']['state'] == '2'): ?><td>仮登録</td><?php endif; ?>
							<?php if ($this->_tpl_vars['forms']['state'] == '3'): ?><td>退会</td><?php endif; ?>
						</tr>
						<tr>
							<th>会員氏名</th>
							<td><?php echo $this->_tpl_vars['forms']['user_name1']; ?>
 <?php echo $this->_tpl_vars['forms']['user_name2']; ?>
</td>
							<th>貴医院名・貴技工所名</th>
							<td><?php echo $this->_tpl_vars['forms']['workshop_name']; ?>
</td>
						</tr>
						<tr>
							<th>お客様ID</th>
							<td><?php echo $this->_tpl_vars['forms']['login_id']; ?>
</td>
							<th></th>
							<td></td>
						</tr>
						<tr>
							<th>E-Mail</th>
							<td><a href="mailto:<?php echo $this->_tpl_vars['forms']['email']; ?>
"><?php echo $this->_tpl_vars['forms']['email']; ?>
</a></td>
								
							<th>メルマガ購読（PC）</th>
							<?php if ($this->_tpl_vars['forms']['state'] == '1'): ?><td>メルマガ購読（PC）</td><?php endif; ?>
						</tr>
						<tr>
							<th>電話番号</th>
							<td><?php echo $this->_tpl_vars['forms']['tel_number']; ?>
</td>
							<th>携帯電話番号</th>
							<td><?php echo $this->_tpl_vars['forms']['mobile_number']; ?>
</td>
						</tr>
						<tr>
								<th>生年月</th>
							<td><?php echo $this->_tpl_vars['forms']['birthday_year']; ?>
年<?php echo $this->_tpl_vars['forms']['birthday_m']; ?>
月</td>
							<th>性別</th>
							<td>
							  <?php if ($this->_tpl_vars['forms']['sex'] == 1): ?>女性<?php endif; ?>
							  <?php if ($this->_tpl_vars['forms']['sex'] == 2): ?>男性<?php endif; ?>
							  <?php if ($this->_tpl_vars['forms']['sex'] == 3): ?>指定なし<?php endif; ?>
							</td>
						</tr>
						<tr>
							<th>住所</th>
							<td colspan="3"><?php echo $this->_tpl_vars['forms']['address']; ?>
</td>
						</tr>
						<tr>
							<th>退会理由</th>
							<td colspan="3"><?php echo $this->_tpl_vars['forms']['retreat_account']; ?>
</td>
						</tr>
						<tr>
							<th>社内メモ</th>
							<td colspan="3"></td>
						</tr>
					</tbody>
				</table>

				<p class="button">
					<button type="button" id="btn_update" class="submit"><span>更新</span></button>
				</p>
			</form>
		</section>
	</article>
</div>
<?php echo $this->_tpl_vars['zfooter']; ?>

</body>
</html>